<?php
	global $_W,$_GPC;
	$tid = intval($_GPC['tid']);
	if($_W['role']  && $tid){
		$o = pdo_get('mii_ang_timetemplate',array('tid'=>$tid));
		$week = $o['rest_week']?json_decode($o['rest_week'],true):'';		
		include $this->template('web/timetemplate/edit');
	}else{
		message('没有操作权限');
	}



?>
